<?php
class Sup
{
    public static function start($fn,$args=[]){     
        return Supervisor::spawn_opt($fn,$args,[
            'addr' => Booru::$reg_addr,  
        ]); 
    }
    public static function start_link($fn,$args=[]){   
        return Supervisor::spawn_opt($fn,$args,[
            'link' => self::self(), 
            'addr' => Booru::$reg_addr, 
        ]);
    }  
}